<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>xProxy 下载</title>
  </head>
  <body>
    <script>
      fetch("./xproxy.json", { cache: "no-store" })
        .then(data => data.json())
        .then(data => {
          if (location.search == "?win") {
            if (data.url) {
              location.href = data.win_url;
            }
          } else {
            if (data.url) {
              location.href = data.url;
            }
          }
        });
    </script>
  </body>
</html>
